#include "Point.h"

Point::Point(int x_pos, int y_pos):_x(x_pos),_y(y_pos){}
Point::Point(): _x(0), _y(0){}

bool Point::operator==(const Point& rhs) const
{
	if(rhs.x() == _x && rhs.y() == _y)
		return true;
	else 
		return false;
}

int Point::x() const 
{return _x;}

int Point::y() const
{return _y;}
